Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the sort boolean option in percolate api to the sort dsl available in search api #4625

Closed
martijnvg opened this issue Jan 6, 2014 · 0 comments

Comments

@martijnvg
Copy link
Member

At the moment the sort boolean option allows to sort via percolate score in descending order. The full sort dsl should be supported, so that in the future if other sort options are available, the percolate api doesn't need to break backward compatibility.

The following sort options will be the only supported option in percolate api:

{
...
"sort" : [
   "_score"
]
....
@ghost ghost assigned martijnvg Jan 6, 2014
martijnvg added a commit to martijnvg/elasticsearch that referenced this issue Jan 6, 2014
brusic pushed a commit to brusic/elasticsearch that referenced this issue Jan 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant